<?php

namespace App\Http\Controllers\PC;

use App;
use App\Common\Status;
use App\Http\Logic\PC\CityLogic;
use App\Http\Controllers\Controller as BaseController;
use Illuminate\Http\Request;

class CityController extends BaseController
{
    /**
     * @return \Illuminate\Http\JsonResponse
     */
    public function getCity(Request $request)
    {
        $pid = $request->query("pid");
        $r = CityLogic::getCity($pid);

        return $this->success(Status::SUCCESS, 'success', $r);
    }
}
